#pragma once
#include "../Headers/config.h"
#include "nameserver.h"

#ifndef CONFIG
#define CONFIG ("ns-config.cfg")
#endif

namespace TOB {
	class NameserverSRV {
	 protected:
		Config *config;

	 public:
		NameserverSRV();
		~NameserverSRV();
		bool requestAddress(Server::Type server, Nameserver::IP &ipAddr);
	};
}
